package by.bsuir.chess.vo
{
	import flash.geom.Point;

	public class Positions extends Array
	{
		public function contains(pos : Point) : Boolean
		{
			for each (var p : Point in this)
				if (p.x == pos.x && p.y == pos.y)
					return true;
			return false;
		}
	}
}
